import type {App} from "vue";
import {
    Layout,
    Result,
    Button,
    Image,
    Skeleton,
    Breadcrumb,
    Space,
    Avatar,
    Dropdown,
    Menu,
    Flex,
    Row,
    Col,
    Drawer,
    Form,
    Input,
    Select,
    Card,
    Modal,
    List,
    Empty,
    Calendar,
    Badge,
    Statistic,
    Tag,
    Timeline,
    TimePicker,
    Table,
} from "ant-design-vue";
import "ant-design-vue/dist/reset.css";
import "@/assets/style/app.scss";


export const mountAntDesign =  (app: App) => {
    app.use(Layout);
    app.use(Result);
    app.use(Button);
    app.use(Image);
    app.use(Skeleton);
    app.use(Breadcrumb);
    app.use(Space);
    app.use(Avatar);
    app.use(Dropdown);
    app.use(Menu);
    app.use(Flex);
    app.use(Row);
    app.use(Col);
    app.use(Drawer);
    app.use(Form);
    app.use(Input);
    app.use(Select);
    app.use(Card);
    app.use(Modal);
    app.use(List);
    app.use(Empty);
    app.use(Calendar);
    app.use(Badge);
    app.use(Statistic);
    app.use(Tag);
    app.use(Timeline);
    app.use(TimePicker);
    app.use(Table);
    // 注册全局方法
    // app.config.globalProperties
}